package com.daigoudao.web.dao;

import java.util.List;

import com.daigoudao.web.model.InviteModel;

/**
 * 代购邀约表操作类
 * 
 * @author zheng
 * 
 */
public interface IInviteDao {

	/**
	 * 添加一条邀约信息
	 * 
	 * @param inviteModel
	 * @throws Exception
	 */
	public void addInviteInfos(List<InviteModel> inviteModels) throws Exception;

	/**
	 * 查询邀约信息
	 * 
	 * @return
	 */
	public List<InviteModel> queryInviteInfos(InviteModel inviteModel)
			throws Exception;

	public int getInviteCount(InviteModel inviteModel) throws Exception;

	/**
	 * 更新邀约表的状态
	 * 
	 * @param inviteModel
	 * @throws Exception
	 */
	public void updateStatus(InviteModel inviteModel) throws Exception;

	public void deleteInvit(int invitId) throws Exception;

	public InviteModel selectInvite(int inviteId) throws Exception;
}
